#ifndef __JSON_CONTENT_LISTENER_H__
#define __JSON_CONTENT_LISTENER_H__

#define JSON_ITEM_LENGTH 128
class String;
/**
* Very simple JSON parser implementation
*/
class JsonContentListener{
public:
	virtual bool onItem(const String& name, const String& value) = 0;
	virtual void onBegin() = 0;
	virtual void onEnd() = 0;
	virtual void onParseError() = 0;
};

#endif